package com.chenjie.executor.day19;


/**
 *
 *
 * @author chenjie
 * @version JDK 8
 * @className Main1 (此处以class为例)
 * @date 2024/5/27
 * @description TODO
 */
public class Main1 {

    /**
     *
     * @param args
     */
    public static void main(String[] args) {
        synchronized (Main1.class){
            try {
                 Main1.class.wait(1000L);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
            System.out.println("人人都是程序员");

        }
    }
}
